package week08;

public class DeptManager extends Handler{
    @Override
    public String handleRequest(double fee) {
        String res = "";
        if(fee<1000){
            res = "DeptManager同意请求";
        }
        else{
            return this.successor.handleRequest(fee);
        }
        return res;
    }
}
